<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{institutionController.selected.institutionName}" rendered="#{localeHelper.englishSet}" />
            <h:outputText value="#{institutionController.selected.institutionNameNo}" rendered="#{localeHelper.norwegianSet}" />
        </ui:define>
        <ui:define name="content">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.name}:" />
                    <h:outputText value="#{institutionController.selected.institutionName}" title="#{bundle.name}"  rendered="#{localeHelper.englishSet}" />
                    <h:outputText value="#{institutionController.selected.institutionNameNo}" title="#{bundle.name}" rendered="#{localeHelper.norwegianSet}" />
                    <h:outputText value="#{bundle.phoneNumber}:" />
                    <h:outputText value="#{institutionController.selected.phoneNumber}" title="#{bundle.phoneNumber}" />
                    <h:outputText value="#{bundle.address}:" />
                    <h:outputText value="#{institutionController.selected.address}" title="#{bundle.address}" />
                </h:panelGrid>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
